﻿
using HBase;
using System;
namespace hCommand {
    public  class AbsCoreStock :BaseEntity {
       
        //托盘类型，大托盘，高托盘，长托盘，等用于分配货位时使用，
        //不同托盘类型在入库存储过程中对应的不同算法
        //public int? locType { get; set; }
        public long classifyId { get; set; }
        public long deepDiff { get; set; }
        public int locId { get; set; }
 
        public string boxCode { get; set; }
        /// <summary>
        /// 库外0，入库中1，库存2，出库中3,移库中4,出库完成-1
        /// </summary>
        public int status { get; set; }
        public int locked { get; set; }
        public DateTime createTime { get; set; }
        public DateTime? changeTime { get; set; }
        public long pkId { get; set; }
  
        public int eigen { get; set; }
    }

    public enum StockStatus {
        编辑 = 1, 库外 = 2, 移动中 = 5, 盘库中 = 7, 库存 = 9, 删除 = -1
    }
    public enum StockDetailStatus {
        库外 = 2,
        移库中 = 5,
        盘亏 = 6,
        待盘库 = 7, //盘完 变移库中
        盘盈 = 8,
        库存 = 9,
        删除 = -1,
        出库完成 = -2,
        
        入库前删除 = -4,
        无单据出库归档 = -8,
    }
}